﻿
Thumbnail = new function() {
    this.Initialize = function(ul) {
        $(ul).children('li').click(function() {
            var image = $(this).children('img')[0];            
            $("#main_image img").attr('src', $(image).attr('src'));
            $(this).attr('class', 'selected').siblings('li').attr('class', '');            
        });
    }
}